package com.jz.netthings.appengine.baseData;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2019-03-04
 */
public class JzMachine implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 编号
     */
    private String code;
    /**
     * 名称
     */
    private String name;
    /**
     * 型号
     */
    private String type;
    /**
     * 是否联网
     */
    @TableField("isNetworking")
    private Boolean isNetworking;
    /**
     * 厂家编码
     */
    @TableField("factoryCode")
    private String factoryCode;
    /**
     * 使用编码
     */
    @TableField("useCode")
    private String useCode;
    /**
     * 机器图片
     */
    @TableField("machinePhoto")
    private String machinePhoto;
    /**
     * 备注
     */
    private String remark;
    /**
     * 顶部频道
     */
    @TableField("topChannel")
    private String topChannel;
    /**
     * 环境频道
     */
    @TableField("envChannel")
    private String envChannel;
    /**
     * 序号
     */
    private Integer num;
    /**
     * 机器状态
     */
    private String state;
    /**
     * 浆站
     */
    @TableField("jzId")
    private Integer jzId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Boolean getNetworking() {
        return isNetworking;
    }

    public void setNetworking(Boolean isNetworking) {
        this.isNetworking = isNetworking;
    }

    public String getFactoryCode() {
        return factoryCode;
    }

    public void setFactoryCode(String factoryCode) {
        this.factoryCode = factoryCode;
    }

    public String getUseCode() {
        return useCode;
    }

    public void setUseCode(String useCode) {
        this.useCode = useCode;
    }

    public String getMachinePhoto() {
        return machinePhoto;
    }

    public void setMachinePhoto(String machinePhoto) {
        this.machinePhoto = machinePhoto;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTopChannel() {
        return topChannel;
    }

    public void setTopChannel(String topChannel) {
        this.topChannel = topChannel;
    }

    public String getEnvChannel() {
        return envChannel;
    }

    public void setEnvChannel(String envChannel) {
        this.envChannel = envChannel;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getJzId() {
        return jzId;
    }

    public void setJzId(Integer jzId) {
        this.jzId = jzId;
    }

    @Override
    public String toString() {
        return "JzMachine{" +
        "id=" + id +
        ", code=" + code +
        ", name=" + name +
        ", type=" + type +
        ", isNetworking=" + isNetworking +
        ", factoryCode=" + factoryCode +
        ", useCode=" + useCode +
        ", machinePhoto=" + machinePhoto +
        ", remark=" + remark +
        ", topChannel=" + topChannel +
        ", envChannel=" + envChannel +
        ", num=" + num +
        ", state=" + state +
        ", jzId=" + jzId +
        "}";
    }
}
